#include "assglConvertMid.h"
#include "assgl.h"

#include <glcontext.h>
#include <gltxt.h>
#include <textOverlay.h>

void initFontObj(GlParam *contextParam)
{
	contextParam->gltxt[contextParam->glTxtNum+1] = gltxtCreateOne();
	contextParam->glTxtNum += 1;
}

void setTextFont(GlParam *contextParam, const char *text)
{	
	// GlParam *assgllib = static_cast<GlParam *>(contextParam);
	// GlParam assgllib = contextParam->GlParamS;
	__setText_text(contextParam->gltxt[contextParam->glTxtNum],text);//"2004年5月 arabic:(هلأنت بخير)\n春江潮水连海平，\n海上明月共潮生。\n"
}
